/* 
 * File:   Ball.h
 * Author: jose
 *
 * Created on 5 de Abril de 2012, 20:20
 */

#ifndef BALL_H
#define	BALL_H

#include "SdlUtils.h"
#include "GameDefinitions.h"

#include <string>
#include <SDL/SDL.h>

class Ball {
public:
    Ball(std::string filename);
    Ball(const Ball& orig);
    virtual ~Ball();
    double posX, posY, velX, velY;
    SDL_Surface *ballImage;
    void move(Uint32 deltaTicks);
private:
    static const int initialBallspeed = 400; //pixels per second
};

#endif	/* BALL_H */

